//状态机接口
import {StateBusInterface} from "db://assets/Script/State/interface/StateBusInterface";

export interface StateMachineInterface<T> {
    //添加状态
    add(stateBusInterface: StateBusInterface<T>): void

    //删除状态
    remove(state: T): void

    //更新状态
    update(deltaTime: number): void
}
